//
//  Shape.h
//  DemoConnectionBetweenShapes
//
//  Created by duc nguyen van on 8/22/11.
//  Copyright 2011 STU. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ConnectionResizeView.h"
#import "ShapeLine.h"

@protocol delegateShape

-(void)sendingTapOnSubView:(UITapGestureRecognizer *)tap andSize:(CGSize)size andSubView:(UIView*)Sview;

@end


@interface Shape : UIView <delegateConnectionRizeView>{
	id<delegateShape> delegate;
	
	ConnectionResizeView *cnResizeView;
	UIView *shapeView;
	
	//for line conection
	NSMutableArray *EndLine;
	NSMutableArray *BeginLine;
}

@property (assign) id<delegateShape> delegate;
@property (nonatomic, retain) ConnectionResizeView *cnResizeView;
@property (nonatomic, retain) NSMutableArray *EndLine;
@property (nonatomic, retain) NSMutableArray *BeginLine;

@end
